home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Tools / mlist / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  2.6 KB  |  123 lines

  1. # List maintance tool
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Tools/mlist/RCS/Makefile,v 6.0 1991/12/18 20:31:28 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:31:28  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =mlist.c
  21. OBJS =mlist.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS =       ../../h
  25. LIBPP   =       ../../Lib/libpp.a
  26. INCLUDE = -I$(HEADERS)
  27. CFLAGS  = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  28. LDFLAGS = $(LDOPTIONS) $(LLF)
  29.  
  30. LLFLAGS = $(LINTFLAGS) -I$(HEADERS)
  31. LINTLIBS = ../../Lib/llib-lpp.ln $(LINTISODE)
  32.  
  33. ############################################################
  34. #
  35. # Building Rules
  36. #
  37. ############################################################
  38.  
  39. PROGS=xmlist
  40.  
  41. default: $(PROGS)
  42.  
  43. mlist:xmlist
  44.  
  45. xmlist: $(OBJS) $(LIBPP)
  46.     rm -f $@
  47.     $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  48.     chmod u+s $@
  49.  
  50. saber_src: $(SRCS)
  51.     #load -C $(CFLAGS) $(SRCS) $(LIBPP) $(LIBSYS)
  52.  
  53. saber_obj: $(OBJS)
  54.     #load -C $(OBJS) $(LIBPP) $(LIBSYS)
  55.  
  56. lint: l-mlist
  57.  
  58. l-mlist: $(SRCS)
  59.      $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  60.  
  61. install: inst-dir inst-mlist
  62.  
  63. inst-dir: $(USRBINDIR)
  64.  
  65. inst-mlist: $(USRBINDIR)/mlist
  66.  
  67. $(USRBINDIR)/mlist: xmlist
  68.     -$(BACKUP) $@ zxmlist
  69.     -rm -f $@
  70.     $(INSTALL) xmlist $@
  71.     -$(CHMOD) $(PGMPROT) $@
  72.     -$(CHOWN) $(PPUSER) $@
  73.     -$(CHMOD) u+s $@
  74.     -rm -f $(USRBINDIR)/malias
  75.     ln -s $@ $(USRBINDIR)/malias
  76.     -@ls -ls $@ $(USRBINDIR)/malias
  77.     -@echo "mlist and malias installed normally"; echo ""
  78.  
  79. clean: tidy
  80.     rm -f $(OBJS)
  81. tidy:
  82.     rm -f $(PROGS) core a.out Makefile.old zxmlist
  83.  
  84. depend:
  85.     $(DEPEND) $(INCLUDE) $(SRCS)
  86.  
  87. ############################################################
  88. #
  89. # End of Building Rules
  90. #
  91. ############################################################
  92.  
  93. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  94. # Dependencies follow
  95. mlist.o: mlist.c
  96. mlist.o: ../../h/head.h
  97. mlist.o: ../../h/util.h
  98. mlist.o: ../../h/config.h
  99. mlist.o: ../../h/ll_log.h
  100. mlist.o: ../../h/retcode.h
  101. mlist.o: ../../h/adr.h
  102. mlist.o: ../../h/list_rchan.h
  103. mlist.o: ../../h/chan.h
  104. mlist.o: ../../h/table.h
  105. mlist.o: ../../h/list_bpt.h
  106. mlist.o: ../../h/auth.h
  107. mlist.o: ../../h/list_bpt.h
  108. mlist.o: ../../h/extension.h
  109. mlist.o: ../../h/mta.h
  110. mlist.o: ../../h/adr.h
  111. mlist.o: ../../h/list_bpt.h
  112. mlist.o: ../../h/or.h
  113. mlist.o: ../../h/dl.h
  114. mlist.o: ../../h/alias.h
  115. mlist.o: ../../h/chan.h
  116. mlist.o: ../../h/retcode.h
  117. mlist.o: ../../h/ap.h
  118. mlist.o: ../../h/util.h
  119.  
  120. # DEPENDENCIES MUST END AT END OF FILE
  121. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  122. # see make depend above
  123.